package com.woniuxy.platform.core.service.impl;

import com.woniuxy.platform.core.model.PmMenu2;
import com.woniuxy.platform.core.mapper.PmMenu2Mapper;
import com.woniuxy.platform.core.service.PmMenu2Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-12
 */
@Service
public class PmMenu2ServiceImpl extends ServiceImpl<PmMenu2Mapper, PmMenu2> implements PmMenu2Service {

    @Resource
    private PmMenu2Mapper mapper;

    @Override
    public List<PmMenu2> selectAll() {
        List<PmMenu2> list = this.mapper.selectMenu();
        return list;
    }
}
